package com.ia.aistream.mapper.operating;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ia.aistream.model.operating.entity.DocContentParagraph;


/**
 * content_paragraphMapper接口
 *
 * @author aistream
 * @date 2021-01-20
 */
public interface DocContentParagraphMapper extends BaseMapper<DocContentParagraph>
{
    /**
     * 查询content_paragraph
     *
     * @param id content_paragraphID
     * @return content_paragraph
     */
    public DocContentParagraph selectDocContentParagraphById(Long id);

    /**
     * 查询content_paragraph列表
     *
     * @param docContentParagraph content_paragraph
     * @return content_paragraph集合
     */
    public List<DocContentParagraph> selectDocContentParagraphList(DocContentParagraph docContentParagraph);

    /**
     * 新增content_paragraph
     *
     * @param docContentParagraph content_paragraph
     * @return 结果
     */
    public int insertDocContentParagraph(DocContentParagraph docContentParagraph);

    /**
     * 批量插入DocContentParagraph
     * @param list
     * @return
     */

    public int inserDocContentParagraphList(List<DocContentParagraph> list);

    /**
     * 修改content_paragraph
     *
     * @param docContentParagraph content_paragraph
     * @return 结果
     */
    public int updateDocContentParagraph(DocContentParagraph docContentParagraph);

    /**
     * 删除content_paragraph
     *
     * @param id content_paragraphID
     * @return 结果
     */
    public int deleteDocContentParagraphById(Long id);

    /**
     * 批量删除content_paragraph
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteDocContentParagraphByIds(String[] ids);
}
